package com.yuntu.service.position;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuntu.mapper.position.PositionMapper;
import com.yuntu.pojo.Position;
import com.yuntu.vo.PositionVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Dandan
 * @创建日期 2022/11/1 16:21
 * @文件描述
 */
@Service
public class PositionServiceImpl extends ServiceImpl<PositionMapper, Position> implements PositionService {
    @Autowired
    PositionMapper mapper;
    @Override
    public List<PositionVo> getAllInfo(@Param("pos") Position position) {
        return mapper.getAllInfo(position);
    }
}
